Learn Helm by Andrew Block and Austin Dewey

Learn Helm by Andrew Block and Austin Dewey

Author:Andrew Block and Austin Dewey
Language: eng
Format: epub
Publisher: Packt Publishing Pvt Ltd
Published: 2020-06-09T00:00:00+00:00


Figure 5.4: Output of kubectl get pods –n chapter5 when each Pod is ready

Once the pods are ready, you can run the commands that were displayed by the release notes. If necessary, they can be displayed again by running the following code:

$ helm get notes my-guestbook -n chapter5

NOTES:

1. Get the application URL by running these commands:

export NODE_PORT=$(kubectl get --namespace chapter5 -o jsonpath='{.spec.ports[0].nodePort}' services my-guestbook)

export NODE_IP=$(kubectl get nodes --namespace chapter5 -o jsonpath='{.items[0].status.addresses[0].address}')

echo http://$NODE_IP:$NODE_PORT

Copy and paste the Guestbook URL (output from the echo command) into your browser, and the Guestbook user interface (UI) should be displayed, as illustrated in the following screenshot:



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.